package com.ruiyi.service;

import com.ruiyi.common.Result;
import com.ruiyi.dto.UserDto;
import com.ruiyi.dto.UserSearchDto;

public interface UserService {

    //分页查询
    Result findUsersByPage(Integer pageNum,Integer pageSize);

    //添加客户信息
    Result saveUser(UserDto userDto);

    //批量删除
    Result removeManyUser(String id);

    //搜索查询
    Result findUsersBySearch(UserSearchDto userSearchDto);

    //单个删除
    Result removeOneUser(Long id);

    //修改
    Result modifyUser(UserDto userDto);

}
